import React, { Suspense } from "react";

const ChartDemo1 = () => {
  const DemoDAG = React.lazy(() => import("./demo-flow"));

  return (
    <>
      <h2>官方：带有 Combo 的流程图</h2>
      <Suspense fallback={<div>Loading...</div>}>
        <DemoDAG></DemoDAG>
      </Suspense>
      <div id="demoFlow1" style={{ width: "100%", height: 600 }}></div>;
    </>
  );
};

export default ChartDemo1;
